home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 4-Demos / Apple Demos / Tutorials / Display Card 4•8⁄8•24 Training / Display Card 4•8_8•24 Training / card_64199.txt < prev    next >
Text File  |  1990-03-19  |  7KB  |  317 lines

  1. -- card: 64199 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 25934
  5. -- name: qa 1
  6. ----- HyperTalk script -----
  7. on opencard
  8.   put name of this card into field "Tom's Field"
  9.   global inProgress
  10.   if inProgress is true then show cd fld "instruction 3"
  11.   hide cd fld "comment 1 true"
  12.   hide cd fld "comment 1 false"
  13.   hide cd fld "clicktocontinue"
  14.  
  15. end opencard
  16.  
  17. on mouseup
  18.   hide card field "instruction 3"
  19. end mouseup
  20.  
  21. on closeCard
  22.   global maploc, cardloc
  23.   put word 1 of the short name of this card into maploc
  24.   put word 2 of the short name of this card into cardloc
  25. end closeCard
  26.  
  27.  
  28.  
  29.  
  30. -- part 2 (field)
  31. -- low flags: 80
  32. -- high flags: 0002
  33. -- rect: left=8 top=133 right=147 bottom=25
  34. -- title width / last selected line: 0
  35. -- icon id / first selected line: 0 / 0
  36. -- text alignment: 0
  37. -- font id: 3
  38. -- text size: 9
  39. -- style flags: 0
  40. -- line height: 12
  41. -- part name: our Answers
  42.  
  43.  
  44. -- part 3 (field)
  45. -- low flags: 81
  46. -- high flags: 0002
  47. -- rect: left=31 top=133 right=148 bottom=47
  48. -- title width / last selected line: 0
  49. -- icon id / first selected line: 0 / 0
  50. -- text alignment: 0
  51. -- font id: 3
  52. -- text size: 9
  53. -- style flags: 0
  54. -- line height: 12
  55. -- part name: Your Answers
  56.  
  57.  
  58. -- part 8 (button)
  59. -- low flags: 00
  60. -- high flags: 2006
  61. -- rect: left=110 top=144 right=160 bottom=127
  62. -- title width / last selected line: 0
  63. -- icon id / first selected line: 0 / 0
  64. -- text alignment: 1
  65. -- font id: 0
  66. -- text size: 12
  67. -- style flags: 0
  68. -- line height: 16
  69. -- part name: check 1
  70. ----- HyperTalk script -----
  71. on mouseUp
  72.   repeat with i = 1 to 3
  73.     put "" into cd fld "Your answers"
  74.     set the hilite of cd btn i to false
  75.     set the hilite of me to true
  76.     put word 2 of the short name of me into cd fld "Your answers"
  77.   end repeat
  78. end mouseUp
  79.  
  80.  
  81.  
  82. -- part 9 (button)
  83. -- low flags: 00
  84. -- high flags: 2006
  85. -- rect: left=109 top=191 right=207 bottom=126
  86. -- title width / last selected line: 0
  87. -- icon id / first selected line: 0 / 0
  88. -- text alignment: 1
  89. -- font id: 0
  90. -- text size: 12
  91. -- style flags: 0
  92. -- line height: 16
  93. -- part name: check 2
  94. ----- HyperTalk script -----
  95. on mouseUp
  96.   repeat with i = 1 to 3
  97.     put "" into cd fld "Your Answers"
  98.     set the hilite of cd btn i to false
  99.     set the hilite of me to true
  100.     put word 2 of the short name of me into cd fld "Your answers"
  101.   end repeat
  102. end mouseUp
  103.  
  104.  
  105.  
  106. -- part 10 (button)
  107. -- low flags: 00
  108. -- high flags: 2006
  109. -- rect: left=109 top=240 right=256 bottom=127
  110. -- title width / last selected line: 0
  111. -- icon id / first selected line: 0 / 0
  112. -- text alignment: 1
  113. -- font id: 0
  114. -- text size: 12
  115. -- style flags: 0
  116. -- line height: 16
  117. -- part name: check 3
  118. ----- HyperTalk script -----
  119. on mouseUp
  120.   repeat with i = 1 to 3
  121.     put "" into cd fld "Your Answers"
  122.     set the hilite of cd btn i to false
  123.     set the hilite of me to true
  124.     put word 2 of the short name of me into cd fld "Your answers"
  125.   end repeat
  126. end mouseUp
  127.  
  128.  
  129.  
  130. -- part 15 (field)
  131. -- low flags: 80
  132. -- high flags: 2004
  133. -- rect: left=48 top=23 right=97 bottom=325
  134. -- title width / last selected line: 0
  135. -- icon id / first selected line: 0 / 0
  136. -- text alignment: 1
  137. -- font id: 156
  138. -- text size: 14
  139. -- style flags: 0
  140. -- line height: 16
  141. -- part name: comment 1 true
  142.  
  143.  
  144. -- part 16 (field)
  145. -- low flags: 80
  146. -- high flags: 2004
  147. -- rect: left=332 top=26 right=96 bottom=512
  148. -- title width / last selected line: 0
  149. -- icon id / first selected line: 0 / 0
  150. -- text alignment: 1
  151. -- font id: 156
  152. -- text size: 14
  153. -- style flags: 0
  154. -- line height: 16
  155. -- part name: comment 1 false
  156.  
  157.  
  158. -- part 17 (field)
  159. -- low flags: 81
  160. -- high flags: 2004
  161. -- rect: left=51 top=311 right=340 bottom=269
  162. -- title width / last selected line: 0
  163. -- icon id / first selected line: 0 / 0
  164. -- text alignment: 1
  165. -- font id: 157
  166. -- text size: 14
  167. -- style flags: 0
  168. -- line height: 18
  169. -- part name: ClicktoContinue
  170.  
  171.  
  172. -- part 18 (field)
  173. -- low flags: 01
  174. -- high flags: 0007
  175. -- rect: left=0 top=23 right=313 bottom=125
  176. -- title width / last selected line: 0
  177. -- icon id / first selected line: 0 / 0
  178. -- text alignment: 0
  179. -- font id: 156
  180. -- text size: 14
  181. -- style flags: 0
  182. -- line height: 18
  183. -- part name: instruction 3
  184. ----- HyperTalk script -----
  185. on mouseup
  186.   hide me
  187. end mouseup
  188.  
  189.  
  190.  
  191. -- part 19 (button)
  192. -- low flags: 00
  193. -- high flags: 2000
  194. -- rect: left=458 top=317 right=342 bottom=485
  195. -- title width / last selected line: 0
  196. -- icon id / first selected line: 18612 / 18612
  197. -- text alignment: 1
  198. -- font id: 0
  199. -- text size: 12
  200. -- style flags: 0
  201. -- line height: 16
  202. -- part name: next
  203. ----- HyperTalk script -----
  204. on mouseUp
  205.   visual venetian blinds
  206.   go next
  207. end mouseUp
  208.  
  209.  
  210.  
  211. -- part 22 (button)
  212. -- low flags: 00
  213. -- high flags: 2000
  214. -- rect: left=428 top=317 right=342 bottom=456
  215. -- title width / last selected line: 0
  216. -- icon id / first selected line: 18611 / 18611
  217. -- text alignment: 1
  218. -- font id: 0
  219. -- text size: 12
  220. -- style flags: 0
  221. -- line height: 16
  222. -- part name: prev
  223. ----- HyperTalk script -----
  224. on mouseUp
  225.   visual scroll right
  226.   go prev
  227. end mouseUp
  228.  
  229.  
  230.  
  231. -- part 23 (button)
  232. -- low flags: 00
  233. -- high flags: 2000
  234. -- rect: left=484 top=317 right=342 bottom=512
  235. -- title width / last selected line: 0
  236. -- icon id / first selected line: 18613 / 18613
  237. -- text alignment: 1
  238. -- font id: 0
  239. -- text size: 12
  240. -- style flags: 0
  241. -- line height: 16
  242. -- part name: return
  243. ----- HyperTalk script -----
  244. on mouseUp
  245.   go card "test 0"
  246. end mouseUp
  247.  
  248.  
  249.  
  250. -- part contents for background part 4
  251. ----- text -----
  252. Macintosh Display Card 4‚Ä¢8 and 8‚Ä¢24
  253.  
  254. -- part contents for background part 5
  255. ----- text -----
  256. Training Evaluation
  257.  
  258. -- part contents for background part 10
  259. ----- text -----
  260. Multiple Choice Question #1 of 8
  261.  
  262. -- part contents for background part 16
  263. ----- text -----
  264. test6
  265.  
  266. -- part contents for background part 6
  267. ----- text -----
  268.  
  269. How many true colors can the Macintosh Display Card 8‚Ä¢24 display at one time?
  270.  
  271. 256
  272.  
  273.  
  274. 1.67 million
  275.  
  276.  
  277. 16.7 million
  278.  
  279.  
  280. -- part contents for card part 2
  281. ----- text -----
  282. 3
  283.  
  284. -- part contents for card part 16
  285. ----- text -----
  286.  
  287. You need to review true colors and grayscales.
  288.  
  289. -- part contents for card part 15
  290. ----- text -----
  291.  
  292. You‚Äôre right!  In Macintosh, the total number of true colors is slightly over 16.7 million colors.
  293.  
  294. -- part contents for card part 17
  295. ----- text -----
  296. Click the mouse to continue.
  297.  
  298. -- part contents for card part 18
  299. ----- text -----
  300. Instructions: 
  301. (click on this text to hide it)
  302.  
  303. 1. Click on the one appropriate answer for each question.
  304.  
  305. You can change your answer by clicking on a different answer.
  306.  
  307. 2.  After you‚Äôve answered all the questions, click on the ‚ÄúCheck my Answers‚Äù button.
  308.  
  309. You‚Äôll go through each question and see a message indicating whether or not you chose the right answer.
  310.  
  311. -- part contents for background part 23
  312. ----- text -----
  313. card "qa 1"
  314.  
  315. -- part contents for card part 3
  316. ----- text -----
  317. 1